package org.japo.java.swing.listeners;

import javax.swing.event.ChangeListener;
import javax.swing.event.ChangeEvent;
import org.japo.java.swing.igu.IGU;

public class GEC implements ChangeListener {

    private final IGU igu;

    public GEC(IGU igu) {
        this.igu = igu;
    }

    @Override
    public void stateChanged(ChangeEvent ce) {
        Object o = ce.getSource();
        igu.procesarTalla(o);
    }

}
